package top.healthylife.service;

import top.healthylife.domain.Member;

import java.util.List;
import java.util.Map;

public interface MemberService {
    Member findByTelephone(String telephone);

    void add(Member member);

    /**
     * 会员数量查询 按年
     * @param year
     * @return
     */
    Map findMemberCountByMonth(int year);
}
